<!DOCTYPE html>
<html
  xmlns="http://www.w3.org/1999/xhtml"
  xmlns:th="http://www.thymeleaf.org"
  lang="zh-CN"
>
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
  <title>IDC/ISP信息安全管理系统</title>
  <!-- import CSS -->
  <link rel="stylesheet" href="/static/js/lib/element-ui/index.css">
  <!-- import CSS -->
  <link rel="stylesheet" href="/static/css/theme-darkBlue/theme/index.css">
  <link rel="stylesheet" href="/static/css/main.css">
</head>

<body>
<div id="app" v-cloak>
  <div class="login-wrap" @keypress.enter="login">
    <div class="ms-login">
      <div class="ms-title">
        <img src="/static/img/login-logo.png" height="90"/>
      </div>
      <el-form ref="login" size="small" label-width="0px" class="ms-content">
        <el-form-item prop="loginName">
          <div class="my-input my-input__user">
            <input v-model="sysLogin.loginName" size="small" placeholder="请输入用户名"/>
          </div>
        </el-form-item>

        <el-form-item prop="password">
          <div class="my-input my-input__pw">
            <input type="password" placeholder="请输入密码" size="small" autocomplete="off" v-model="sysLogin.password"/>
          </div>
        </el-form-item>

        <el-row :gutter="10">
          <el-col :span="12">
            <el-form-item prop="code">
              <div class="my-input my-input__code">
                <input v-model="sysLogin.code" size="small" placeholder="请输入验证码"/>
              </div>
            </el-form-item>
          </el-col>
          <el-col :span="12"><a href="#" @click="refresh">
            <img :src="codeImgUrl" width="100%" height="32"/>
          </a>
          </el-col>
        </el-row>

        <div class="login-btn">
          <el-button @click="login">登录</el-button>
          <el-button class="btn-default" @click="refresh">获取验证码</el-button>
        </div>
      </el-form>
    </div>
  </div>
</div>
</body>
<script src="/static/js/lib/jquery/jquery-1.10.2.min.js"></script>
<script src="/static/js/lib/vue/vue.js"></script>
<script src="/static/js/lib/element-ui/index.js"></script>
<script src="/static/js/lib/axios/axios.js"></script>
<script src="/static/js/lib/layer/layer.js"></script>
<script src="/static/js/lib/rx-util/rx-util.js"></script>
<script src="/static/js/common/general/common.js"></script>
<script src="/static/js/common/general/forward.js"></script>
<script src="/static/js/common/general/rxPrompt.js"></script>
<script src="/static/js/common/general/rxAjax.js"></script>
<script src="/static/js/common/general/commonApi.js"></script>
<script src="/static/js/common/general/BaseApi.js"></script>
<script src="/static/js/module/system-config/api/sysMenuApi.js"></script>
<script src="/static/js/module/system/model/SysLogin.js"></script>
<script src="/static/js/module/system/api/sysLoginApi.js"></script>
<script src="/static/js/module/system/login.js"></script>

</html>